<?php
/**
 * User: fwj
 * Date: 2018/6/14
 * Time: 9:41
 */

namespace app\index\model;


use think\Model;

class Teacher extends Model
{
    //关联班级
    public function grade()
    {
        return $this->belongsTo('Grade');
    }
}